$tree-node-height: 28px;

.br-tree-node {
  // 子级增加缩进
  &__children {
    padding-left: 20px;
  }

  // 节点
  &__item {
    line-height: $tree-node-height;
    height: $tree-node-height;
    max-height: $tree-node-height;
    min-height: $tree-node-height;

    // 叶子节点
    &--leaf {
      padding-left: 20px;
    }
  }

  &__title {
    float: right;
    width: calc(100% - 40px);
  }

  &__item--leaf &__title {
    width: calc(100% - 20px);
  }

  // chekbox图标
  &__checkboxIcon {
    cursor: pointer;
    &.disabled{
      cursor: not-allowed
    }
  }
  &__halfChecked {
    margin-bottom: -3px;
    cursor: pointer;
  }
  &__disabled {
    cursor: not-allowed;
  }
}

.br-tree {
  padding-left: $base-gap-of-x;

  &--list .br-tree-node__item--leaf {
    padding-left: 0;
  }
}
